package net.imagine.provider.skyline;

import net.imagine.core.ImageProcessResult;
import net.imagine.core.ResultState;

public class ImageResizeResult extends ImageProcessResult {
	private static final long serialVersionUID = -6317222684644882746L;
	protected long userId;
	protected long albumId;
	protected String[] fileKeys;

	public ImageResizeResult(ResultState state) {
		super(state);
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public long getAlbumId() {
		return albumId;
	}

	public void setAlbumId(long albumId) {
		this.albumId = albumId;
	}

	public String[] getFileKeys() {
		if(fileKeys == null) {
			return null;
		}
		return fileKeys.clone();
	}

	public void setFileKeys(String[] fileKeys) {
		if(fileKeys != null) {
			this.fileKeys = fileKeys.clone();
		}
		
	}

	@Override
	@Deprecated
	public String getFileKey() {
		return super.getFileKey();
	}
}
